package List;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

/**
 * Created with Intellij IDEA.
 * Description;
 * User:TQ02
 * Data:2024-02-27
 * Time:14:59
 * Text：已知三角形的长度和面积，查看是否有符合条件的三边
 */
public class Text4 {
    public static boolean countTriangles(double s,double n) {
        for (double i = 1; i <= n ; i++) {
            double left = i ;
            double right = n -1 ;

            while (left <= right) {
                double perimeter = i + left + right;
                if (perimeter > n) {
                    right--; // 降低周长，减小右指针
                } else if(perimeter == n) {
                    if(i +left>right &&
                            right +left>i &&
                            i +right>left){
                        double p = (i + left + right) / 2;
                        double area = Math.sqrt(p * (p - i) * (p - left) * (p - right));
                        if(area==s){
                            return true;
                        }
                    }
                    left++;
                }else left++; // 增加周长，增大左指针
            }
        }
        return false;
    }

    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        double s=sc.nextDouble();
        double n=sc.nextDouble();
        if(countTriangles(s,n)){
            System.out.println("YES");
        }else{
            System.out.println("NO");
        }

    }
}
